package com.vdong.common.oauth.common.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: kpay-basics-srv
 * @description: 小程序代码模板
 * @author: Mr.Zhang
 * @create: 2018-07-03 14:29
 **/
@ApiModel
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CodeTemplateVO implements Serializable {

    private static final long serialVersionUID = -6382803115333086258L;
    @ApiModelProperty("模板id")
    private String templateId;
    @ApiModelProperty("备注")
    private String userDesc;
    @ApiModelProperty("版本")
    private String userVersion;

    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;
}
